﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AlbumDetail.ascx.cs" Inherits="Admin_UserControls_AlbumDetail" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!-- Codes by Quackit.com -->

<script language="javascript">
    var popupWindow = null;
    function centeredPopup(url,winName,w,h){
        LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
        TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
        settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=no,resizable=no';
        popupWindow = window.open(url,winName,settings);
    }
</script>

<div class="title">
    <h5>
        Chi tiết bộ ảnh</h5>
</div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div class="table">
    <table width="100%">
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <b>Mã bộ ảnh:</b>
            </td>
            <td>
                <asp:Label ID="album_idLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <b>Người tạo:</b>
            </td>
            <td>
                <asp:Label ID="user_idLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <b>Tên bộ ảnh:</b>
            </td>
            <td>
                <asp:Label ID="album_nameLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <b>Đường dẫn vật lý:</b>
            </td>
            <td>
                <asp:Label ID="pathLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <b>Mô tả:</b>
            </td>
            <td>
                <asp:Label ID="descriptionLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <b>Ngày tạo:</b>
            </td>
            <td>
                <telerik:RadDatePicker ID="created_dateRadDatePicker" runat="server">
                </telerik:RadDatePicker>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <b>Ngày sửa:</b>
            </td>
            <td>
                <telerik:RadDatePicker ID="modified_dateRadDatePicker" runat="server">
                </telerik:RadDatePicker>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                <b>Hiển thị:</b>
            </td>
            <td>
                <asp:CheckBox ID="is_shownCheckBox" runat="server" />
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                <asp:Button ID="Button_delete" runat="server" Text="Xóa bộ ảnh" 
                    onclick="Button_delete_Click" />
                <asp:Button ID="Button_cancel" runat="server" Text="Quay lại" />
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="3" align="center">
                <%--<div class="rotatorBackground">--%>
                <telerik:RadRotator ID="RadRotator1" runat="server" OnPreRender="RadRotator1_PreRender"
                    Skin="Web20" Width="700px" Height="150px" RotatorType="SlideShowButtons" 
                    onitemdatabound="RadRotator1_ItemDataBound">
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink1" runat="server" OnClick="centeredPopup(this.href,'myWindow','400','400');return false">
                            <asp:Image ID="Image1" runat="server" Width="112px" Height="150px" />
                        </asp:HyperLink>
                    </ItemTemplate>
                </telerik:RadRotator>
                <%--</div>--%>
            </td>
        </tr>
    </table>
</div>
